newt: Remove python_init_once.patch
authorJeffery To <[email protected]>
Tue, 24 Mar 2020 07:51:55 +0000 (15:51 +0800)
committerJeffery To <[email protected]>
Tue, 24 Mar 2020 07:51:55 +0000 (15:51 +0800)
commitcf1579a75c8057c5138cae3c9c7f0fb5c3112b10
treebcd8a65503f222cb320257e28ef8c733773a826d
parent73b75ed1066d26520a38a0724f388caf6addab52
newt: Remove python_init_once.patch

It was pointed out in #11504 that the code in python_init_once.patch is
incorrect; the patch does not prevent newtInit() from being called more
than once (in fact it is called twice the first time initScreen() is
called).

Testing without the patch, using the example code from the corresponding
Debian bug report[1], did not result in any segfaults.

This removes the patch from the package build.

Supersedes #11504.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557960#5

Signed-off-by: Jeffery To <[email protected]>
libs/newt/Makefile
libs/newt/patches/python_init_once.patch [deleted file]